Release 10.1A: OpenEdge Getting Started:
Object-oriented Programming
Programming conventions for classes
Progress recommends the following programming conventions for classes, which are demonstrated in this manual:
- All class names and interface names should begin with an upper case letter and each word in the name starts with an upper case letter. This is known as camel case, for example,
MyCustomerClass.- Keywords should not be used for class names, method names or data member names. Some keywords are marked illegal by the compiler if used as class names.
- Classes and interfaces should be put into packages to uniquely identify their type. Using your company name as part of the package name might help avoid conflicts with similarly named types from other companies that might be on your
PROPATH. For example built-in classes provided by Progress are contained in the package,Progress.Lang.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |